.select-wrap{
    width:100%;
    height: 40px;
    border:1px solid gray;
    border-radius: 6px;
    line-height: 40px;
    padding:0 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin:5px 0;
}

.select-text{
    position: relative;
    z-index:4;
    justify-content:space-between;
    display: flex;
}
.text{
    color:blue;
}

.poportion{
    height:40px;
    position: absolute;
    top:0;
    left:0;
    z-index:2;
    background: red;
}